package com.disease.chronic.Global;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class Result <T>{
    Integer code;
    String message;
    T data;



    public Result(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
